package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Movement;
import com.tanhua.model.vo.PageResult;

/**
 * @author 杰哥不要啦~
 * @date 2021/11/1
 */
public interface MovementApi {
    void pubish(Movement movement);

    //查询个人动态
    PageResult findByUserId(Long userId, Integer page, Integer pagesize);
}
